#include <iostream>
#include <cmath>

using namespace std;
class Square;
class Rectangle
{
	int w;
	int h;
public:
	int area();
	void convert(Square a);
};
class Square
{
	friend class Rectangle;
private:
	int side;
public:
	Square(int a) :side(a)
	{

	}
};